FROM openjdk:17.0.1-jdk
MAINTAINER qdqy<2329395085@qq.com>
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime    && echo $TZ > /etc/timezone
WORKDIR /home
COPY target/*.jar /home/app.jar
EXPOSE 19302
CMD ["java", "-jar" ,"/home/app.jar"]